execute at @s run playsound ui.button.click block @s
execute if score @s biome_advancements_show_color matches 1 run tellraw @s {"translate":"--更多生物群系进度的链接--","color": "aqua"}
execute if score @s biome_advancements_show_color matches 1 run tellraw @s [{"translate":"[MC百科帖子链接]","color": "aqua","clickEvent":{"action":"open_url","value":"https://www.mcmod.cn/class/10241.html"}},{"translate":"[维基百科]","clickEvent":{"action":"open_url","value":"https://gitee.com/yao-know-snow/better-biome-advancements/wikis/Home"}}]
execute if score @s biome_advancements_show_color matches 1 run tellraw @s [{"translate":"[码云仓库]","color": "aqua","clickEvent":{"action":"open_url","value":"https://gitee.com/yao-know-snow/better-biome-advancements"}},{"translate":"[官方交流QQ群]","clickEvent":{"action":"open_url","value":"http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=Wb5Nc6WEmDUywf5_8GjbllGqkeX-H86q&authKey=DWvtKlpgXzugg1dzDW248lUnNqrSsxu5wCizZHTlEkfyVliaTB28B5qu%2FeDpQCAa&noverify=0&group_code=565776662"}}]
execute if score @s biome_advancements_show_color matches 0 run tellraw @s {"translate":"--更多生物群系进度的链接--"}
execute if score @s biome_advancements_show_color matches 0 run tellraw @s [{"translate":"[MC百科帖子链接]","clickEvent":{"action":"open_url","value":"https://www.mcmod.cn/class/10241.html"}},{"translate":"[维基百科]","clickEvent":{"action":"open_url","value":"https://gitee.com/yao-know-snow/better-biome-advancements/wikis/Home"}}]
execute if score @s biome_advancements_show_color matches 0 run tellraw @s [{"translate":"[码云仓库]","clickEvent":{"action":"open_url","value":"https://gitee.com/yao-know-snow/better-biome-advancements"}},{"translate":"[官方交流QQ群]","clickEvent":{"action":"open_url","value":"http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=Wb5Nc6WEmDUywf5_8GjbllGqkeX-H86q&authKey=DWvtKlpgXzugg1dzDW248lUnNqrSsxu5wCizZHTlEkfyVliaTB28B5qu%2FeDpQCAa&noverify=0&group_code=565776662"}}]
scoreboard players set @s biome_advancements_settings 0